package com.zcxy360.sandtable.domain;

import java.util.Date;
import java.util.List;

public class Course {
	
//	
	private String realName;
	private String orgName;
	private Boolean isJoin;
	private Boolean hasRole;
    private List<CourseStage> courseStages;
//	
    
    public Boolean getIsJoin() {
		return isJoin;
	}

	public void setIsJoin(Boolean isJoin) {
		this.isJoin = isJoin;
	}

	public Boolean getHasRole() {
		return hasRole;
	}

	public void setHasRole(Boolean hasRole) {
		this.hasRole = hasRole;
	}

	public String getRealName() {
		return realName;
	}

	public void setRealName(String realName) {
		this.realName = realName;
	}

	public String getOrgName() {
		return orgName;
	}

	public void setOrgName(String orgName) {
		this.orgName = orgName;
	}

	public List<CourseStage> getCourseStages() {
		return courseStages;
	}

	public void setCourseStages(List<CourseStage> courseStages) {
		this.courseStages = courseStages;
	}

	private Integer courseId;

    private Integer userId;

    private Integer orgId;

    private String name;

    private String intro;

    private Integer type;

    private Integer teamCount;

    private Integer personCount;

    private Boolean isFree;

    private Boolean isOver;

    private Integer personWeight;

    private Integer teamWeight;

    private Integer completionWeight;

    private Integer performanceWeight;

    private Date startTime;

    private Date createTime;

    private Date updateTime;

    private Double completion;

    public Integer getCourseId() {
        return courseId;
    }

    public void setCourseId(Integer courseId) {
        this.courseId = courseId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getOrgId() {
        return orgId;
    }

    public void setOrgId(Integer orgId) {
        this.orgId = orgId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getIntro() {
        return intro;
    }

    public void setIntro(String intro) {
        this.intro = intro == null ? null : intro.trim();
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getTeamCount() {
        return teamCount;
    }

    public void setTeamCount(Integer teamCount) {
        this.teamCount = teamCount;
    }

    public Integer getPersonCount() {
        return personCount;
    }

    public void setPersonCount(Integer personCount) {
        this.personCount = personCount;
    }

    public Boolean getIsFree() {
        return isFree;
    }

    public void setIsFree(Boolean isFree) {
        this.isFree = isFree;
    }

    public Boolean getIsOver() {
        return isOver;
    }

    public void setIsOver(Boolean isOver) {
        this.isOver = isOver;
    }

    public Integer getPersonWeight() {
        return personWeight;
    }

    public void setPersonWeight(Integer personWeight) {
        this.personWeight = personWeight;
    }

    public Integer getTeamWeight() {
        return teamWeight;
    }

    public void setTeamWeight(Integer teamWeight) {
        this.teamWeight = teamWeight;
    }

    public Integer getCompletionWeight() {
        return completionWeight;
    }

    public void setCompletionWeight(Integer completionWeight) {
        this.completionWeight = completionWeight;
    }

    public Integer getPerformanceWeight() {
        return performanceWeight;
    }

    public void setPerformanceWeight(Integer performanceWeight) {
        this.performanceWeight = performanceWeight;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Double getCompletion() {
        return completion;
    }

    public void setCompletion(Double completion) {
        this.completion = completion;
    }
}